﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace PressMenu2
{
    class MyResource
    {
        public static SpriteFont fontArial25;
        public static SpriteFont fontArial15;

        public static int nMuiTen=1;
        public static Texture2D[] tMuiTen;

        public static int nDiaBay = 1;
        public static Texture2D[] tDiaBay;

        public static int nCungTen = 1;
        public static Texture2D[] tCungTen;

        public static void LoadContent(ContentManager content)
        {
            fontArial25 = content.Load<SpriteFont>(@"fonts/Arial25");
            fontArial15 = content.Load<SpriteFont>(@"fonts/Arial15");

            tMuiTen = new Texture2D[nMuiTen];
            for (int i = 0; i < nMuiTen; i++)
                tMuiTen[i] = content.Load<Texture2D>(pathMuiTen[i]);


            tDiaBay = new Texture2D[nMuiTen];
            for (int i = 0; i < nDiaBay; i++)
                tDiaBay[i] = content.Load<Texture2D>(pathDiaBay[i]);

            tCungTen = new Texture2D[nMuiTen];
            for (int i = 0; i < nCungTen; i++ )
                tCungTen[i] = content.Load<Texture2D>(pathCungTen[i]);
                
        }

        public static string[] pathMuiTen = { 
            "Img/ImgShow1/mui ten"
        };

        public static string[] pathDiaBay = {
            "Img/ImgShow1/diabay1"
        };

        public static string[] pathCungTen = {
            "Img/ImgShow1/cung ten"
        };


    }
}
